From: Lars Magne Ingebrigtsen Date: Mon, 4 Oct 2010 19:34:35 +0000 (+0200) Subject: (url-http-wait-for-headers-change-function): Revert previous X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~6256 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ed603aeef234a5e42393cb5aba3230479cb85a8f;p=emacs.git (url-http-wait-for-headers-change-function): Revert previous change. It lead to really slow loads. --- diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index 720f682d225..37a635e9906 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -2,6 +2,8 @@ * url-http.el (url-http-wait-for-headers-change-function): Protect against url-http-response-status for degenerate documents. + (url-http-wait-for-headers-change-function): Revert previous + change. It lead to really slow loads. 2010-10-03 Glenn Morris diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index 71de213b64b..1c9c8c8a3de 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -1054,8 +1054,7 @@ the end of the document." end-of-headers t) (url-http-clean-headers))) - (if (or (not end-of-headers) - (not url-http-response-status)) + (if (not end-of-headers) ;; Haven't seen the end of the headers yet, need to wait ;; for more data to arrive. nil